FROM ubuntu:latest

LABEL author="lixingwu"
LABEL email="lixingwu@aliyun.com"
LABEL version="1.0"
LABEL description="This is my Dockerfile."

RUN useradd -m -d /home/nginx -s /bin/sh -f -1 -c "this is a nginx" nginx
USER nginx

ENV BASE_URL localhost:8888

ADD myhostconfig.conf /home/nginx/my.conf
ADD app.tar.gz /home/app/
ADD https://files.cnblogs.com/files/lixingwu/app.tar.gz /home/app1/
ADD . /home/temp/
ADD *.txt /home/txt/
ADD data /home/mydata/

COPY app.tar.gz /home/copy/app/
COPY . /home/copy/temp/
COPY *.txt /home/copy/txt/
COPY data /home/copy/mydata/
COPY data /home/copy/data/

WORKDIR /home

CMD /bin/bash